<template>
  <div class='wrap'>
    <h1>{{title}}分类</h1>
    <!-- 插槽标签 -->
    <slot></slot>
  </div>
</template>

<script>
export default {
    name:'Tab',
    props:['title','list']
}
</script>

<style scoped>
    .wrap{
        width: 200px;
        background: pink;
    }
</style>